import 'package:animationLab/progress/circular_text_progress_widget.dart';
import 'package:animationLab/progress/custom_circular_progress_indicator.dart';
import 'package:flutter/material.dart';
import 'random_progress_bar.dart';

main(List<String> args) {
  runApp(MaterialApp(
    home: TestPage(),
  ));
}

class TestPage extends StatelessWidget {
  const TestPage({
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.grey,
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: <Widget>[
            Container(
              width: 200,
              height: 6,
              child: RandomProgressBar(),
            ),
            Container(
              height: 150,
              child: CustomCircularProgressIndicator(
                value: 0.5,
                strokeWidth: 10,
              ),
            ),
            CircularTextProgressWidget(
              value: 0.6,
            ),
          ],
        ),
      ),
    );
  }
}
